<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录和注册</title>
<link href="<%=path%>/common/css/rpms_right.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=path %>/common/js/check.js"></script>
</head>

<body>
    <div class="main">
      <form action="login.action" method="post">
      <h1>登录与注册</h1>
        <hr />
        
            <table align="center" width="100%" cellspacing="5">
                <tr>
                    <td class="form_strong" width="40%" align="right">用户名:</td>
                    <td><input id="loginName" name="userVO.loginName" type="text" size="20" maxLength=8 onblur="checkLoginName(this)" onkeyup="checkLoginName(this)" /></td>
                </tr>
                <tr>
                    <td class="form_strong"  align="right">密码:</td>
                    <td><input name="userVO.password" type="password"  size="20" maxLength=20 onblur="checkLoginPassword(this);" onkeyup="checkLoginPassword(this)"/></td>
                </tr>
                <tr>
                    <td class="form_strong"  align="right">你的角色:</td>
                    <td>
                        <select id="type" size="1" name="userVO.type">                            
                            <option value="3">学生团队</option>
                            <option value="2">教师</option>
                            <option value="1">管理员</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><input type="submit" value=" 登录 " /></td>
                </tr>
            </table>
      
       <hr />
       </form>
      <h3><a href="<%=path %>/common/register.jsp">注册新团队</a></h3>
    </div>
</body>
</html>
